﻿{template 'header', $template}
<div class="dsn" id="pos_show">Your current location：<a href="{$COM[linkurl]}">Home</a> &raquo; <a href="{$MENU[$menuid][linkurl]}">{$MENU[$menuid][name]}</a></div>

<div class="main_head"><div><strong>Company Profile</strong></div></div>
<div class="main_body">
	<div class="px13 lh18">
	<table width="98%" cellpadding="3" cellspacing="1" align="center">
	<tr>
	<td width="90" class="f_b">Company Name：</td>
	<td width="260">{$COM[company]}</td>
	<td width="90" class="f_b">Type of company：</td>
	<td width="260">{$COM[type]} ({$COM[mode]})</td>
	</tr>
	<tr>
	<td class="f_b">Place of Origin：</td>
	<td>{area_pos($COM[areaid], '/')}</td>
	<td class="f_b">Company Size：</td>
	<td>{$COM[size]}</td>
	</tr>
	<tr>
	<td class="f_b">Registered Capital：</td>
	<td>{if $COM[capital]}{$COM[capital]}Ten thousand{$COM[regunit]}{else}Not filled{/if}</td>
	<td class="f_b">Year of Registration：</td>
	<td>{$COM[regyear]}</td>
	</tr>
	</table>
	<table width="98%" cellpadding="3" cellspacing="1" align="center">
	<tr>
	<td class="f_b">Data certification：</td>
	<td>
	{if $COM[vcompany]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_company.gif" width="16" height="16" align="absmiddle" title="Data certification through mobile phones"/>{/if}
	{if $COM[vtruename]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_truename.gif" width="16" height="16" align="absmiddle" title="Data certification through mobile phones"/>{/if}
	{if $COM[vbank]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_bank.gif" width="16" height="16" align="absmiddle" title="Data certification through mobile phones"/>{/if}
	{if $COM[vmobile]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_mobile.gif" width="16" height="16" align="absmiddle" title="Data certification through mobile phones"/>{/if}
	{if $COM[vemail]}&nbsp;<img src="{$MODULE[2][linkurl]}image/v_email.gif" width="16" height="16" align="absmiddle" title="Data certification through mobile phones"/>{/if}
	{if $COM[validated]}&nbsp;<img src="{DT_SKIN}image/check_right.gif" align="absmiddle"/> Enterprise data through{$COM[validator]}认证{/if}	
	</td>
	</tr>
	{if $COM[mode]}
	<tr>
	<td class="f_b">Business：</td>
	<td>{$COM[mode]}</td>
	</tr>
	{/if}
	{if $COM[business]}
	<tr>
	<td class="f_b">Business：</td>
	<td>{$COM[business]}</td>
	</tr>
	{/if}
	{if $COM[sell]}
	<tr>
	<td class="f_b">Sales of products：</td>
	<td>{$COM[sell]}</td>
	</tr>
	{/if}
	{if $COM[buy]}
	<tr>
	<td class="f_b">Procurement of products：</td>
	<td>{$COM[buy]}</td>
	</tr>
	{/if}
	{if $COM[catid]}
	<tr>
	<td width="90"  class="f_b">Industry：</td>
	<td>
	{php $catids = explode(',', substr($COM['catid'], 1, -1));}
	<table cellpadding="2" cellspacing="2" width="100%">
	{loop $catids $i $c}
	{if $i%3==0}<tr>{/if}
	<td width="33%">{cat_pos(get_cat($c), ' / ', '_blank')}</td>
	{if $i%3==2}</tr>{/if}
	{/loop}
	</table>
	</td>
	</tr>
	{/if}
	</table>
	</div>
</div>
{if $comment}
<div class="main_head">
<div>
<span class="f_n px13">
{if $view}
<a href="{userurl($username, 'file=credit', $domain)}#comment">Received evaluation (as the seller)</a> | <strong>Evaluation issued (as a buyer)</strong>
{else}
<strong>Received evaluation (as the seller)</strong> | <a href="{userurl($username, 'file=credit&view=1', $domain)}#comment">Evaluation issued (as a buyer)</a>
{/if}
<a name="comment"></a>
</span>
</div>
</div>
<div class="main_body">
{if $view}
	{loop $lists $k $v}
	<div class="comment{if $k%2==0} comment_sp{/if}">
	<div class="comment_title">
		<span class="f_r">{$STARS[$v[buyer_star]]} <img src="{DT_STATIC}file/image/star{$v[buyer_star]}.gif" width="36" height="12" alt="" align="absmiddle"/></span>
		Buyers <span id="i_{$v[itemid]}">{hide_name($v[buyer])} At <span class="comment_time">{timetodate($v[buyer_ctime])}</span> Commented：</span>
	</div>
	<div class="comment_content" id="c_{$v[itemid]}">{nl2br($v[buyer_comment])}</div>
	{if $v[seller_reply]}
	<div class="comment_reply">
	<span style="color:blue;">Seller</span> <span style="font-size:11px;">{timetodate($v[seller_rtime])}</span> Reply： {nl2br($v[seller_reply])}
	</div>
	{/if}
	</div>
	{/loop}
{else}
	{loop $lists $k $v}
	<div class="comment{if $k%2==0} comment_sp{/if}">
	<div class="comment_title">
		<span class="f_r">{$STARS[$v[seller_star]]} <img src="{DT_STATIC}file/image/star{$v[seller_star]}.gif" width="36" height="12" alt="" align="absmiddle"/></span>
		Buyers <span id="i_{$v[itemid]}">{hide_name($v[buyer])} At <span class="comment_time">{timetodate($v[seller_ctime])}</span> Commented：</span>
	</div>
	<div class="comment_content" id="c_{$v[itemid]}">{nl2br($v[seller_comment])}</div>
	{if $v[buyer_reply]}
	<div class="comment_reply">
	<span style="color:blue;">Seller</span> <span style="font-size:11px;">{timetodate($v[buyer_rtime])}</span> Reply： {nl2br($v[buyer_reply])}
	</div>
	{/if}
	</div>
	{/loop}
{/if}
	{if $pages}<div class="pages">{$pages}</div>{/if}
</div>
{/if}
{template 'footer', $template}